class Bullet extends Particle
{
//  int activationDelay;
//  int activationCount;
  Bullet(int xin, int yin, int massin, PVector vin)
  {
    super(xin, yin, massin, color(100,100,100), vin);
//    activationDelay = 30;
//    activationCount = 0;
  }
  
  Bullet(int xin, int yin, int massin)
  {
    super(xin, yin, massin, color(100,100,100), new PVector(random(-6,6),random(-6,6),random(-6,6)));
//    activationDelay = 30;
//    activationCount = 0;
  }
  
    void update()
  {
    updatePosition();
    applyPlanetGravity();
    applyPlayerGravity(player);
    checkCollisions();
  }
}
